Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

459
Views
Error durante la migración de npm a yarn: el "nodo" del motor no es compatible con este módulo

en mi proyecto estoy tratando de migrar de npm a yarn .

Simplemente ejecuté el comando " yarn " para generar el " yarn.lock ".

Durante el proceso, me mostró el siguiente error:

error linearicons@1.0.2: El "nodo" del motor es incompatible con este módulo.

Versión esperada "^12.13.0". Se obtuvo el error "10.19.0". Se encontró un módulo incompatible.

Así que ejecuté el comando " npm remove linearicons " luego " yarn " para generar el " yarn.lock " sin error, luego " yarn add linearicons ". Pero me da el mismo error que el anterior.

Mi versión de Yarn es 1.22.10

Versión del nodo: v10.19.0

¿Qué podría hacer para solucionar este problema? no entiendo que quiere

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Actualice la versión de node.js:

instalación de nvm

 $ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash $ source ~/.bashrc

Buscando versiones existentes de node.js

 $ nvm ls-remote

Instalación de la última (a día de hoy)

 $ nvm install v16.8.0

Después de eso, su problema debería solucionarse.

over 4 years ago · Santiago Trujillo Report

0

yarn install --ignore-engines

Esto funcionó para mí, y mostraba este error:

 webpack-dev-server@4.5.0: The engine "node" is incompatible with this module. Expected version ">= 12.13.0". Got "10.19.0"

Resultado final después de --ignore-engines

 success Saved lockfile.
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!